package com.xmu.prcs.dao;

import java.util.List;

import com.xmu.prcs.entity.KindKe;

/**
 * 
 * @author frequent
 * @version 1.0,2010-3-20
 *
 */
public interface KindKeDao extends GenericDao<KindKe>{

	public final String ID_KINDKE = "idKindKe";
	public final String KIND_NAME = "kindName";
	
	/**
	 * 通过查询条件得到分类科
	 * @param property
	 * @param param
	 * @return
	 */
	public List<KindKe> findByProperty(String property, Object param);
	
	/**
	 * 按条件得到结果数
	 */
	public int countKindKe(String kindName);
	
	/**
	 * 按分页效果得到分类科
	 * @param begin
	 * @param size
	 * @param kindName
	 * @return
	 */
	public List<KindKe> get4Page(int begin, int size, String kindName);
}
